Staatic\WordPress\Publication\BackgroundPublisher S

Total Complexity 36
Dependencies 11
Dependents 2
Total lines 341
Lines of code 196
Logical lines of code 104
Comment lines 50
Methods 12
Properties 11

Methods 12

Method Rating Maintainability Complexity Lines of code
task()
B
35 15 95
initiatePublication()
S
55 3 20
cancelPublication()
S
58 3 15
processTimeLimit()
S
70 3 6
handle()
S
59 2 14
__construct()
S
65 2 9
timeExceeded()
S
72 2 6
updatePublicationUnlessCanceled()
S
72 2 6
handleFailure()
S
63 1 11
complete()
S
76 1 4
isPublicationCanceled()
S
76 1 4
exceedsPublicationTimeLimit()
S
72 1 6